home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000363_msapiro@ccsf.edu_Sat Nov 1 11:04:12 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  5KB

  1. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!in.100proofnews.com!in.100proofnews.com!attla2!ip.att.net!usc.edu!newshub.csu.net!sand.ccsf.cc.ca.us!fog.ccsf.cc.ca.us!msapiro
  2. From: Mark Sapiro <msapiro@ccsf.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Protocol Error: NAK out of window
  5. Date: Fri, 31 Oct 2003 17:19:30 -0800
  6. Organization: City College of San Francisco
  7. Lines: 132
  8. Message-ID: <Pine.HPX.4.44.0310311650430.13666-100000@fog.ccsf.cc.ca.us>
  9. References: <Dg_nb.118720$h61.101506@news01.bloor.is.net.cable.rogers.com>
  10. NNTP-Posting-Host: fog.ccsf.cc.ca.us
  11. Mime-Version: 1.0
  12. Content-Type: TEXT/PLAIN; charset=US-ASCII
  13. X-X-Sender: msapiro@fog.ccsf.cc.ca.us
  14. In-Reply-To: <Dg_nb.118720$h61.101506@news01.bloor.is.net.cable.rogers.com>
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14618
  16.  
  17. On Thu, 30 Oct 2003, computer person wrote:
  18.  
  19. > Hi,
  20. >
  21. > I am pretty new to kermit but pretty computer savey. I built a script to
  22. > connect to ministry of health to send health #'s for validity check. The
  23. > file transfer fails around 25-30% of the time on error "Protocol Error: NAK
  24. > out of window". Any ideas would be greatful. Do you think adding "robust"
  25. > would do anything positive? I only get a few chances to submit a transfer
  26. > per day so I try to keep the guesses to a minimum.
  27.  
  28. I was hoping Frank would respond to this one as his reply would be much
  29. better than mine, I'm sure, but there's been no reply from Frank so maybe
  30. tthis post didn't reach his news server even though it got to me and to
  31. Google Groups.
  32.  
  33. Yes, I think "robust" would help.  So might "set window-size 1".  The
  34. error message seems clear.  I think the sender is receiving a NAK to
  35. a packet that has already been released from the window, presumably because
  36. it was already ACKed.  This would indicate at least one side of the
  37. transfer does not implement the protocol correctly.  Your logs indicate
  38. the sender (your side) is C-Kermit 8.0.209.  I would guess the problem
  39. is with the receiver.  What Kermit is running there?
  40.  
  41. > My set up is as follows with a few comments added that are not in the
  42. > running script:
  43. >
  44. > --------------
  45. > SET DIAL DISPLAY ON
  46. > set retry-limit 0   --this makes no difference ..
  47. > set modem type generic  -- tried 3 different modems and they all get the NAK
  48. > error occasionally..usr, boca and creativelabs
  49. > set line /dev/tty1
  50. > set speed 38400
  51. > set stop-bits 1
  52. > SET FLOW RTS/CTS
  53. > set protocol kermit
  54. > dial 19999999999  (fake #)
  55. > INPUT 8 {Please log on}
  56. > IF FAIL quit 1 MSG999 did not present a login prompt. Run Terminated.
  57. > PAUSE 1
  58. > OUTPUT useridxx\{13}
  59. > INPUT 8 {Password?}
  60. > IF FAIL quit 1 MSG999 did not present a Password prompt. Run Terminated.
  61. > PAUSE 1
  62. > OUTPUT pwxxxxx\{13}
  63. > <some snipped>
  64.  
  65. Presumably the snipped part has to do with starting a Kermit receiver
  66. at the remote end.  Again, what Kermit is this?  How does it identify
  67. itself?
  68.  
  69. > send filename.txt
  70. > SET EXIT WARNING OFF
  71.  
  72. Instead of the above, why not "close connection" and/or "hangup"?
  73.  
  74. > EXIT
  75. > --------------
  76. >
  77. > here is the transaction log from kermit:
  78. >
  79. > Transaction Log: C-Kermit 8.0.209, 17 Mar 2003
  80. >  IBM AIX 4.3
  81. > Tue Oct 28 06:44:07 2003
  82. >
  83. > Transaction begins Tue Oct 28 06:44:52 2003
  84. >
  85. > Global file mode: binary
  86. >
  87. > Sending filename.txt
  88. >  as filename.TXT
  89. >  mode: text
  90. >  xfer character set ASCII
  91. >  file character set US ASCII
  92. >  complete, size: 60517
  93. >
  94. > Transaction complete Tue Oct 28 06:45:33 2003
  95. >
  96. >  elapsed time (seconds)  : 31
  97. >  effective data rate     : 1895
  98. >
  99. > Protocol Error: NAK out of window
  100. >
  101. > Transaction complete Tue Oct 28 06:45:33 2003
  102. >
  103. >  elapsed time (seconds)  : 32
  104. >  effective data rate     : 1856
  105. >
  106. >  failed: NAK out of window
  107. > Transaction Log Closed
  108.  
  109. This seems to indicate the error doesn't occur until after the send
  110. completed.  I don't know why this would be, but it seems clear that
  111. at least one side is doing something wrong.  Is the file received
  112. completely in this case?
  113.  
  114. >
  115. > ----
  116. >
  117. > Here is the same log of one that worked with no changes to the script:
  118. >
  119. > Transaction Log: C-Kermit 8.0.209, 17 Mar 2003
  120. >  IBM AIX 4.3
  121. > Tue Oct 28 16:11:46 2003
  122. >
  123. > Transaction begins Tue Oct 28 16:12:49 2003
  124. >
  125. > Global file mode: binary
  126. >
  127. > Sending filename.txt
  128. >  as filename.TXT
  129. >  mode: text
  130. >  xfer character set ASCII
  131. >  file character set US ASCII
  132. >  complete, size: 62854
  133. >
  134. > Transaction complete Tue Oct 28 16:13:18 2003
  135. >
  136. >  elapsed time (seconds)  : 20
  137. >  effective data rate     : 2996
  138. >
  139. > Transaction Log Closed
  140. >
  141. > ---
  142. >
  143.  
  144.  
  145. --
  146. Mark Sapiro <msapiro@value.net>       The highway is for gamblers,
  147. San Francisco Bay Area, California    better use your sense - B. Dylan
  148.  
  149.